<include file="public@header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:url('room/index')}">所有班级</a></li>
			<li class="active"><a href="{:url('room/add')}">添加班级</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('room/addpost')}">
			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="form-required">*</span>班级名称:</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" id="name" name="name" required="" lay-verify="name" autocomplete="off" class="layui-input" lay-verify="required">
				</div>
			</div>
			<div class="col-md-6 col-sm-10">
				<select name="school_id" class="form-control">
					<option value="">--请选择学校--</option>
					<foreach name="school" item="vo">
						<option value="{$vo.id}">{$vo.name}</option>
					</foreach>
				</select>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<button type="submit" class="btn btn-primary js-ajax-submit">{:lang('ADD')}</button>
				</div>
			</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>